Don't use isprint() for chars > 255.
authorAlexander Larsson <alexl@redhat.com>
Fri, 22 Dec 2000 12:33:07 +0000 (12:33 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Fri, 22 Dec 2000 12:33:07 +0000 (12:33 +0000)
2000-12-22  Alexander Larsson  <alexl@redhat.com>

* gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
Don't use isprint() for chars > 255.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/linux-fb/gdkkeyboard-fb.c

index 72e1251f791f8659d71cd1c68aee327f65451962..1c69a4031537fa4bb1f13c69d333d7e92999f5d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-22  Alexander Larsson  <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
+       Don't use isprint() for chars > 255.
+
 2000-12-21  Havoc Pennington  <hp@redhat.com>
 
        * tests/testtreeview.c: more work
index 72e1251f791f8659d71cd1c68aee327f65451962..1c69a4031537fa4bb1f13c69d333d7e92999f5d7 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-22  Alexander Larsson  <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
+       Don't use isprint() for chars > 255.
+
 2000-12-21  Havoc Pennington  <hp@redhat.com>
 
        * tests/testtreeview.c: more work
index 72e1251f791f8659d71cd1c68aee327f65451962..1c69a4031537fa4bb1f13c69d333d7e92999f5d7 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-22  Alexander Larsson  <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
+       Don't use isprint() for chars > 255.
+
 2000-12-21  Havoc Pennington  <hp@redhat.com>
 
        * tests/testtreeview.c: more work
index 72e1251f791f8659d71cd1c68aee327f65451962..1c69a4031537fa4bb1f13c69d333d7e92999f5d7 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-22  Alexander Larsson  <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
+       Don't use isprint() for chars > 255.
+
 2000-12-21  Havoc Pennington  <hp@redhat.com>
 
        * tests/testtreeview.c: more work
index 72e1251f791f8659d71cd1c68aee327f65451962..1c69a4031537fa4bb1f13c69d333d7e92999f5d7 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-22  Alexander Larsson  <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
+       Don't use isprint() for chars > 255.
+
 2000-12-21  Havoc Pennington  <hp@redhat.com>
 
        * tests/testtreeview.c: more work
index 72e1251f791f8659d71cd1c68aee327f65451962..1c69a4031537fa4bb1f13c69d333d7e92999f5d7 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-22  Alexander Larsson  <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
+       Don't use isprint() for chars > 255.
+
 2000-12-21  Havoc Pennington  <hp@redhat.com>
 
        * tests/testtreeview.c: more work
index 72e1251f791f8659d71cd1c68aee327f65451962..1c69a4031537fa4bb1f13c69d333d7e92999f5d7 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-22  Alexander Larsson  <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
+       Don't use isprint() for chars > 255.
+
 2000-12-21  Havoc Pennington  <hp@redhat.com>
 
        * tests/testtreeview.c: more work
index 046fb64f60b245359f4b07af2624b5c0560f6cc0..1c76236c6051b5660064cf4df9a8f2dbf6099a2b 100644 (file)
@@ -808,7 +808,7 @@ xlate_io (GIOChannel *gioc,
          dummy[0] = keycode;
          dummy[1] = 0;
 
-         len = isprint (keycode) ? 1 : 0;
+         len = ((keycode < 255) && isprint (keycode)) ? 1 : 0;
          gdk_fb_handle_key (keycode,
                             keycode,
                             modifier,